package com.googlecode.gwtbb.client.shared.entity;

import com.googlecode.gwtbb.client.shared.entity.properties.HasId;
import com.googlecode.gwtbb.client.shared.entity.properties.HasSnapDate;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Dec 23, 2008
 */
public interface ManyToMany extends HasSnapDate {
	String RELATION_ID = "relationId";
	String LEFT_ID = "leftId";
	String RIGHT_ID = "rightId";

	public Long getLeftId();

	public Long getRelationId();

	public Long getRightId();

	public boolean isDeleted();

	public void setLeftId(Long leftId);

	public void setRelationId(Long relationId);

	public void setRightId(Long rightId);
}
